package cn.sunshine.ymcc.service;

import cn.sunshine.ymcc.domain.CourseUserLearn;
import cn.sunshine.ymcc.dto.PayAliNotifyDto;
import cn.sunshine.ymcc.result.JSONResult;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr.Jiang
 * @since 2022-08-08
 */
public interface ICourseUserLearnService extends IService<CourseUserLearn> {

    JSONResult checkUserpermission(Long loginId, Long courseId);

    void upDateUserByNotify(PayAliNotifyDto notifyDto);
}
